Skip to content

Conversation

@GabrieleRomeo
Copy link
Contributor

I've added the single var pattern specification. It may be helpful if anybody wants to use this declaration style.

@jllodra
Copy link
Contributor

jllodra commented Oct 27, 2016

Hi @GabrieleRomeo,

I am not sure whether we should permit 2 different specifications for variable declaration or not.

I personally think the one variable per line and ; approach is much better.
You will never have to swap a ; for a , and vice-versa.

@GabrieleRomeo
Copy link
Contributor Author

Hi @jllodra

I am not sure whether we should permit 2 different specifications for variable declaration or not.

I know it may be a point of confusion for someone, but I like the idea of grouping variables by group separated by a new line.

Probably you are right, but this style has its charms. 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants